package com.example.neusoft.cook.base;

import android.content.Context;
import android.content.Intent;
import android.os.Bundle;
import android.support.annotation.Nullable;
import android.support.v7.app.AppCompatActivity;

/**
 * Created by neusoft on 2017/4/12.
 */

public abstract class BaseAcyivity extends AppCompatActivity {
    protected  static  String userId;//所有子类都可访问值
    public static String phonenum;

    @Override
    protected void onCreate(@Nullable Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        Context context = BaseAcyivity.this;
        //Context context = BaseAcyivity.this;
        //Intent intent = new Intent();

    }
    public static void setUserId(String uid){
        userId = uid;
    }
    public static  String getUserId(){
        return userId;
    }


}
